/* 
 * File:   m_matrix.h
 * Author: n.kaminski
 *
 * Created on 27. September 2012, 13:35
 */


#define MATRIX_CONTENT_TYPE double
#define MATRIX_CONTENT_FORMAT "%f\t"
#define MATRIX_TYPE MATRIX_CONTENT_TYPE**
    


struct matrix{
    MATRIX_TYPE content;
    double stepsize;
    double start;
    double end;
    int width;
    int height;
};

typedef struct matrix matrix;

extern matrix createMatrix(double low, double high, double stepsize);

extern void freeMatrix(matrix m);

extern void clearMatrix(matrix m);

extern void printMatrix(matrix m);